package be.teletask.onvif.models;

/**
 * Created by Tomas Verhelst on 03/09/2018.
 * Copyright (c) 2018 TELETASK BVBA. All rights reserved.
 */
public class OnvifMediaProfile {

    //Constants
    public static final String TAG = OnvifMediaProfile.class.getSimpleName();

    //Attributes
    private final String name;
    private final String token;
    private final String videoSourceName;
    private final String videoSourceToken;
    private final String audioOutputName;
    private final String audioOutputToken;
    private final String audioDecoderName;
    private final String audioDecoderToken;

    //Constructors

    public OnvifMediaProfile(String name, String token,
                             String videoSourceName,String videoSourceToken,
                             String audioOutputName,String audioOutputToken,
                             String audioDecoderName,String audioDecoderToken) {
        this.name = name;
        this.token = token;
        this.videoSourceName = videoSourceName;
        this.videoSourceToken = videoSourceToken;
        this.audioOutputName = audioOutputName;
        this.audioOutputToken = audioOutputToken;
        this.audioDecoderName = audioDecoderName;
        this.audioDecoderToken = audioDecoderToken;
    }

    //Properties

    public String getName() {
        return name;
    }

    public String getToken() {
        return token;
    }

    public String getVideoSourceName() {
        return videoSourceName;
    }

    public String getVideoSourceToken() {
        return videoSourceToken;
    }

    public String getAudioOutputName() {
        return audioOutputName;
    }

    public String getAudioOutputToken() {
        return audioOutputToken;
    }

    public String getAudioDecoderName() {
        return audioDecoderName;
    }

    public String getAudioDecoderToken() {
        return audioDecoderToken;
    }

    @Override
    public String toString() {
        return "OnvifMediaProfile{" +
                "name='" + name + '\'' +
                ", token='" + token + '\'' +
                ", videoSourceName='" + videoSourceName + '\'' +
                ", videoSourceToken='" + videoSourceToken + '\'' +
                '}';
    }
}
